package com.xczz.model;

import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

@Data
public class SysRoleMenuPK implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "role_id", nullable = false)
    @Id
    private Long roleId;

    @Column(name = "menu_id", nullable = false)
    @Id
    private Long menuId;
}